package com.woniu108.carService.commos.exception.evaluate;

/**
 * @author LY
 */

public enum EvaluateExceptionCode {
    /**
     *
     */
    EVALUATE_REVIEW_NOT_POWER(7001,"订单尚不满足发布评价的条件"),
    EVALUATE_REVIEW_USER_NOT_POWER(7002,"您无权操作"),
    EVALUATE_REVIEW_ED(7003,"您已评价，单个订单不能反复评价"),
    EVALUATE_SCORE_NOT_POWER(7004,"订单尚不满足评分的条件"),
    EVALUATE_SCORE_FINISHED(7005,"您已完成评分，不能再次评分"),
    EVALUATE_STORE_NOT_EXISTED(7006,"门店不存在"),
    EVALUATE_SCORE_EXISTED(7007,"已创建，请勿重复创建"),
    PRODUCT_NO_EQUAL_ORDER(7008,"商品不属于订单"),
    EVALUATE_ALREADY_REVIEWED(7009,"用户已评论过"),
    EVALUATE_REVIEW_NO_EXISTED(7010,"评价不存在"),
    EVALUATE_REVIEW_REPLY_EXISTED(7011,"已回复"),
    EVALUATE_SCORE_NO_FAIR(7012,"评分过低或过高"),
    EVALUATE_PRODUCT_NOT_EXISTED(7013,"商品不存在"),
    EVALUATE_PRODUCT_EXISTED(7014,"商品仍旧存在"),
    EVALUATE_SCORE_NO_EXISTED(7015,"积分信息已不存在"),
    EVALUATE_STORE_EXISTED(7016,"门店仍旧存在");



    private Integer code;
    private String message;

    EvaluateExceptionCode() {
    }

    EvaluateExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
